import { Context } from "koa";
import getLogger from "../logger";

//数据
class IndexController {
  async index(ctx: Context) {
    getLogger.info("msg", "msg"); // 打日志
    ctx.body = [1, 2, 3, 4, 5, 6];
  }
}

export default new IndexController();
